home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
X11
/
xload.z
/
xload
Wrap
Text File
|
1998-10-30
|
7KB
|
199 lines
XXXXLLLLOOOOAAAADDDD((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 5555)))) XXXXLLLLOOOOAAAADDDD((((1111))))
NNNNAAAAMMMMEEEE
xload - system load average display for X
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
xxxxllllooooaaaadddd [-_t_o_o_l_k_i_t_o_p_t_i_o_n ...] [-scale _i_n_t_e_g_e_r] [-update
_s_e_c_o_n_d_s] [-hl _c_o_l_o_r] [-highlight _c_o_l_o_r]
[-jumpscroll _p_i_x_e_l_s] [-label _s_t_r_i_n_g] [-nolabel] [-
lights]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The _x_l_o_a_d program displays a periodically updating histogram
of the system load average.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
_X_l_o_a_d accepts all of the standard X Toolkit command line
options (see _X(_1)). The order of the options in
unimportant. _x_l_o_a_d _a_l_s_o _a_c_c_e_p_t_s _t_h_e _f_o_l_l_o_w_i_n_g _a_d_d_i_t_i_o_n_a_l
_o_p_t_i_o_n_s:
----hhhhllll _c_o_l_o_r oooorrrr ----hhhhiiiigggghhhhlllliiiigggghhhhtttt _c_o_l_o_r
This option specifies the color of the scale lines.
----jjjjuuuummmmppppssssccccrrrroooollllllll number of pixels
The number of pixels to shift the graph to the left
when the graph reaches the right edge of the window.
The default value is 1/2 the width of the current
window. Smooth scrolling can be achieved by setting
it to 1.
----llllaaaabbbbeeeellll _s_t_r_i_n_g
The string to put into the label above the load
average.
----nnnnoooollllaaaabbbbeeeellll
If this command line option is specified then no
label will be displayed above the load graph.
----lllliiiigggghhhhttttssss When specified, this option causes _x_l_o_a_d to display
the current load average by using the keyboard leds;
for a load average of _n, xload lights the first _n
keyboard leds. This option turns off the usual
screen display.
----ssssccccaaaalllleeee _i_n_t_e_g_e_r
This option specifies the minimum number of tick
marks in the histogram, where one division
represents one load average point. If the load goes
above this number, _x_l_o_a_d will create more divisions,
but it will never use fewer than this number. The
default is 1.
----uuuuppppddddaaaatttteeee _s_e_c_o_n_d_s
Page 1 (printed 4/30/98)
XXXXLLLLOOOOAAAADDDD((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 5555)))) XXXXLLLLOOOOAAAADDDD((((1111))))
This option specifies the interval in seconds at
which _x_l_o_a_d updates its display. The minimum amount
of time allowed between updates is 1 second. The
default is 10.
RRRREEEESSSSOOOOUUUURRRRCCCCEEEESSSS
In addition to the resources available to each of the
widgets used by _x_l_o_a_d there is one resource defined by the
application itself.
sssshhhhoooowwwwLLLLaaaabbbbeeeellll ((((class BBBBoooooooolllleeeeaaaannnn))))
If False then no label will be displayed.
WWWWIIIIDDDDGGGGEEEETTTTSSSS
In order to specify resources, it is useful to know the
hierarchy of the widgets which compose _x_l_o_a_d. In the
notation below, indentation indicates hierarchical
structure. The widget class name is given first, followed
by the widget instance name.
XLoad xload
Paned paned
Label label
StripChart load
EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
DDDDIIIISSSSPPPPLLLLAAAAYYYY to get the default host and display number.
XXXXEEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
to get the name of a resource file that overrides
the global resources stored in the RESOURCE_MANAGER
property.
FFFFIIIILLLLEEEESSSS
/usr/lib/X11/app-defaults/XLoad - specifies required
resources
SSSSEEEEEEEE AAAALLLLSSSSOOOO
X(1), xrdb(1), mem(4), Athena StripChart Widget.
BBBBUUUUGGGGSSSS
This program requires the ability to open and read the
special system file /_d_e_v/_k_m_e_m. Sites that do not allow
general access to this file should make _x_l_o_a_d belong to the
same group as /_d_e_v/_k_m_e_m and turn on the _s_e_t _g_r_o_u_p _i_d
permission flag.
Reading /dev/kmem is inherently non-portable. Therefore,
the routine used to read it (get_load.c) must be ported to
each new operating system.
Page 2 (printed 4/30/98)
XXXXLLLLOOOOAAAADDDD((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 5555)))) XXXXLLLLOOOOAAAADDDD((((1111))))
CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
Copyright 1988, Massachusetts Institute of Technology.
See _X(_1) for a full statement of rights and permissions.
AAAAUUUUTTTTHHHHOOOORRRRSSSS
K. Shane Hartman (MIT-LCS) and Stuart A. Malone (MIT-LCS);
with features added by Jim Gettys (MIT-Athena), Bob
Scheifler (MIT-LCS), Tony Della Fera (MIT-Athena), and Chris
Peterson (MIT-LCS).
Page 3 (printed 4/30/98)